package com.fresh.fresh.dao;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 购物车类
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("购物车类")
public class Cart {
    private Integer id;

//    @TableField(exist = false)
    private String name;

//    @TableField(exist = false)
    private String img;
    private Integer num;
    private String price;
    private Integer userId;
    private Integer commodityId;
}
